import request from '@/utils/request'

export function getPayList (params) {
  return request({
    url: '/basic-api/zd/pay/getPayList',
    method: 'get',
    params
  })
}

export function addPay (data) {
  return request({
    url: '/basic-api/zd/pay/add',
    method: 'post',
    data
  })
}

export function updatePay (data) {
  return request({
    url: '/basic-api/zd/pay/update',
    method: 'post',
    data
  })
}

export function removePay (id) {
  return request({
    url: '/basic-api/zd/pay/remove/' + id,
    method: 'post',
  })
}
export function ifusePay (id) {
  return request({
    url: '/basic-api/zd/pay/ifUse/' + id,
    method: 'post',
  })
}

